package cn.hyy.FVOnline.entity;

import java.io.Serializable;
import java.util.List;

public class Shop implements Serializable {

    //id
    private Integer id;
    //店铺名称
    private String shopname;
    //店铺头像路径
    private String hsPath;
    //所属用户Id
    private Integer userId;
    //店铺商品总数
    private Integer goodsnum;
    //店铺总销量
    private Integer sellnum;
    //申请开店原因
    private String reason;
    //店铺状态
    private Integer state;

    private User user;

    private List<Goods> goodsList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getShopname() {
        return shopname;
    }

    public void setShopname(String shopname) {
        this.shopname = shopname;
    }

    public String getHsPath() {
        return hsPath;
    }

    public void setHsPath(String hsPath) {
        this.hsPath = hsPath;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getGoodsnum() {
        return goodsnum;
    }

    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    public Integer getSellnum() {
        return sellnum;
    }

    public void setSellnum(Integer sellnum) {
        this.sellnum = sellnum;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<Goods> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<Goods> goodsList) {
        this.goodsList = goodsList;
    }

    @Override
    public String toString() {
        return "Shop{" +
                "id=" + id +
                ", shopname='" + shopname + '\'' +
                ", hsPath='" + hsPath + '\'' +
                ", userId=" + userId +
                ", goodsnum=" + goodsnum +
                ", sellnum=" + sellnum +
                ", reason='" + reason + '\'' +
                ", state=" + state +
                ", user=" + user +
                ", goodsList=" + goodsList +
                '}';
    }
}
